import { ApiProperty } from '@nestjs/swagger';
import { IsString, IsInt, Length, IsOptional, Min, Max } from 'class-validator';
import { PartialType } from '@nestjs/mapped-types';
import { CreateDictDto } from './create-dict.dto';

export class UpdateDictDto extends PartialType(CreateDictDto) {
  @ApiProperty({
    description: '修改人ID',
    example: 1,
    required: false
  })
  @IsOptional()
  @IsInt({ message: '修改人ID必须是整数类型' })
  updateBy?: number;
}
